using log4net.Config;

namespace Web
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var builder = WebApplication.CreateBuilder(args);

            // Add services to the container.
            var app = builder.Build();
            XmlConfigurator.Configure(new FileInfo(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "log4Net.config")));

            app.MapControllers();
            Thread thread = new Thread(app.Start);
            app.Run();

            //商品领域 7个概念
            //1、实体
            //2、聚合和聚合根
            //3、仓储接口
            //4、领域服务
            //5、值对象
            //6、规约
            //7、领域事件
        }
    }
}
